{% extends "admin_base.html" %}

{% block content %}
<div class="card border-0 shadow-sm">
    <div class="card-header bg-white border-0 py-3">
        <h5 class="mb-0"><i class="bi bi-cash-coin me-2"></i> 添加新存款业务</h5>
    </div>
    <div class="card-body">
        <form method="POST" action="{{ url_for('add_deposit') }}">
            <div class="mb-3">
                <label for="name" class="form-label">存款业务名称</label>
                <input type="text" class="form-control" id="name" name="name" required>
            </div>
            <div class="mb-3">
                <label for="description" class="form-label">业务描述</label>
                <textarea class="form-control" id="description" name="description" rows="3"></textarea>
            </div>
            <div class="d-flex justify-content-end">
                <a href="{{ url_for('manage_deposits') }}" class="btn btn-secondary me-2">取消</a>
                <button type="submit" class="btn btn-primary">添加业务</button>
            </div>
        </form>
    </div>
</div>
{% endblock %}